package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

/**
 * @Date 2022/2/5
 * @Created by Jonathan
 */
@Controller
@RequestMapping("/methodParam")
public class MethodParamController {

    @RequestMapping("/m1")
    public String first(HttpSession session) {
        System.out.println("hello world.");
        // my name  is dgf
        return "/result.jsp";
    }

}
